package com.yztstudy.Service;

import com.yztstudy.Entity.AdminUser;
import com.yztstudy.Param.AdminUserParam;
import com.yztstudy.entity.User;
import com.yztstudy.param.CartListParam;
import com.yztstudy.param.PageParam;
import com.yztstudy.utils.R;

/**
 * 管理员的业务逻辑层接口
 */

public interface AdminUserService {

    AdminUser login(AdminUserParam adminUserParam); // 校验用户名和密码

    R userList(PageParam pageParam); // 分页查询用户

    R remove(CartListParam cartListParam); // 删除用户

    R update(User user); // 更新用户

    R save(User user); // 添加用户
}
